<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->
<title>wcswcs</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<h4><a name = "tag_000_010_662">&nbsp;</a>NAME</h4><blockquote>
wcswcs - find a wide substring
</blockquote><h4><a name = "tag_000_010_663">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;<a href="wchar.h.html">wchar.h</a>&gt;

wchar_t *wcswcs(const wchar_t *<i>ws1</i>, const wchar_t *<i>ws2</i>);
</code>
</pre>
</blockquote><h4><a name = "tag_000_010_664">&nbsp;</a>DESCRIPTION</h4><blockquote>
The
<i>wcswcs()</i>
function locates the first occurrence in the wide-character string pointed to by
<i>ws1</i>
of the sequence of wide-character codes (excluding the terminating
null wide-character code)
in the wide-character string pointed to by
<i>ws2</i>.
</blockquote><h4><a name = "tag_000_010_665">&nbsp;</a>RETURN VALUE</h4><blockquote>
Upon successful completion,
<i>wcswcs()</i>
returns a pointer to the located wide-character string or a null
pointer if the wide-character string is not found.
<p>
If
<i>ws2</i>
points to a wide-character string with zero length, the function returns
<i>ws1</i>.
</blockquote><h4><a name = "tag_000_010_666">&nbsp;</a>ERRORS</h4><blockquote>
No errors are defined.
</blockquote><h4><a name = "tag_000_010_667">&nbsp;</a>EXAMPLES</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_010_668">&nbsp;</a>APPLICATION USAGE</h4><blockquote>
This function was not included in the final ISO/IEC 9899:1990/Amendment 1:1994 (E).
Application developers are strongly encouraged to use the
<i><a href="wcsstr.html">wcsstr()</a></i>
function instead.
</blockquote><h4><a name = "tag_000_010_669">&nbsp;</a>FUTURE DIRECTIONS</h4><blockquote>
None.
</blockquote><h4><a name = "tag_000_010_670">&nbsp;</a>SEE ALSO</h4><blockquote>
<i><a href="wcschr.html">wcschr()</a></i>,
<i><a href="wcsstr.html">wcsstr()</a></i>,
<i><a href="wchar.h.html">&lt;wchar.h&gt;</a></i>.
</blockquote><h4>DERIVATION</h4><blockquote>
Derived from the MSE working draft.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>

